//分页
ss-pagingFunc($class='.ss-page', $config = false, $class2='.ss-pagination')
  cfg = merge({}, pagingCfg, $config)
  {$class2}, {$class}, .ss-page-jump
    ss-display-flex(row nowrap, flex-start, center)
  {$class2}
    .input:not([type='textarea'])
      width: 46px
      height: cfg.$height
      line-height: @height
    .ss-page-sizes
      width: 100px
      min-width: auto
      margin-right: 5px
      input
        padding: 0
    .ss-page-total
      margin-right: 10px
    .ss-page-jump
      flex: inherit
      .item-entity
        margin: 0 10px 
      .item-desc
        margin-left: 0
  {$class}
    font-size: $size
    >.item
      min-width: cfg.$height
      height: cfg.$height
      line-height: @height
      text-align: center
      margin: cfg.$space
      padding: cfg.$spacePadding
      box-sizing: border-box;
      border-radius: cfg.$br
      &:not(.disabled)
        cursor: pointer
      &.active, &:not(.disabled):hover
        color: $color-primary
      &.disabled
        color: $color-text-disabled
    &.is-bg
      >.item
        background: cfg.$bg
        &.active
          background: $color-primary
          color: #fff
  {$class}, {$class2}
    &.center
      justify-content: center
    &.right
      justify-content: flex-end
